<!-- 
    1.该对象具有切换功能
    2.该对象具有添加功能
    3.该对象具有删除功能
    4.该对象具有修改功能

 -->


<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>tab案例</title>
    <link rel="stylesheet" href="../css/index.css">

</head>

<body>
    <main>
        <div class="tabboxes" id="tab">
            <!-- tab标签 -->
            <nav class="firstnav">
                <!-- tab导航栏 -->
                <ul>
                    <li class="bordernone"><span>测试1</span><span class="del"></span></li>
                    <li><span>测试2</span><span class="del"></span></li>
                    <li><span>测试3</span><span class="del"></span></li>
                </ul>
                <!-- 添加按钮 -->
                <div class="tabadd">
                    <span>+</span>
                </div>
            </nav>
            <!-- tab内容 -->
            <div class="tabscontent">
                <section class="visible">测试1</section>
                <section>测试2</section>
                <section>测试3</section>
            </div>
        </div>
    </main>
    <script src="../js/tab.js"></script>
</body>

</html>